package com.kevin.designpattern.factory_method.staticfactory;

/**
 * 咖啡店
 */
public class CoffeeStore {

    public Coffee orderCoffee(String type) {

        Coffee coffee = StaticCoffeeFactory.createCoffee(type);
        coffee.addMilk();
        coffee.addSugar();
        return coffee;
    }
}
